package com._520it.crm.service.impl;

import com._520it.crm.domain.AuditNotPass;
import com._520it.crm.mapper.AuditNotPassMapper;
import com._520it.crm.service.IAuditNotPassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AuditNotPassServiceImpl  implements IAuditNotPassService{
    @Autowired
    private AuditNotPassMapper auditNotPassMapper;



    @Override
    public int deleteByPrimaryKey(Long id) {
        return auditNotPassMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AuditNotPass record) {
        return auditNotPassMapper.insert(record);
    }

    @Override
    public AuditNotPass selectByPrimaryKey(Long id) {
        return auditNotPassMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<AuditNotPass> selectAll() {
        return auditNotPassMapper.selectAll();
    }

    @Override
    public int updateByPrimaryKey(AuditNotPass record) {
        return auditNotPassMapper.updateByPrimaryKey(record);
    }
}
